package com.wechat.file.request;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import jakarta.validation.constraints.*;

/**
 * 合并分片请求
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class MergeRequest {

    /**
     * 上传会话ID
     */
    @NotBlank(message = "上传会话ID不能为空")
    private String uploadId;

    /**
     * 文件MD5 - 用于最终校验
     */
    @NotBlank(message = "文件MD5不能为空")
    private String fileMd5;
}